package com.example.stray_animal_management_system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @description:
 * @author: panpan
 * @time: 2025/10/26
 */
@Data
@TableName("rescue_info")
public class RescueInfo {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String rescueCode;
    private Integer reporterId;   // 上报人ID
    private String animalType;    // 动物类型
    private String description;   // 救助描述
    private String location;      // 发现地点
    private String photo;         // 图片URL
    private Integer status;       // 状态：0待审核 1进行中 2完成 3驳回
    private LocalDateTime reportTime; // 上报时间
    private String rejectReason;
}